"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.success = exports.setLogger = exports.log = exports.fail = void 0;
var logger = {
  // eslint-disable-next-line no-console
  log: console.log,
  // eslint-disable-next-line no-console
  success: console.log,
  // eslint-disable-next-line no-console
  fail: console.warn
};
var setLogger = function setLogger(logger) {
  logger = logger;
};
exports.setLogger = setLogger;
var log = function log() {
  if (logger.log) logger.log.apply(logger, arguments);
};
exports.log = log;
var success = function success() {
  if (logger.success) logger.success.apply(logger, arguments);
};
exports.success = success;
var fail = function fail() {
  if (logger.fail) logger.fail.apply(logger, arguments);
};
exports.fail = fail;